﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>powerby www.phpscup.com<</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
 <META content=all name=robots>
<META http-equiv=imagetoolbar content=no>
<META http-equiv=Pragma content=no-cache>
<LINK href="{$web_view_dir}style/css/style.css" type=text/css rel=stylesheet>
<STYLE>
.rectangle_style {
	CURSOR: move
}
.buton {
font: 12px verdana,tahoma; 
color: #fff; 
background-color: #4a6ea5;
border:1px #003366 solid;
height:2em;
}
</STYLE>
<SCRIPT>
var setdefault = 1;
var showopacity = 1;
var canmove = 1;
var currentImageArray = new Array();
currentImageArray[0] = new Array("{$srcimg}");
currentImageArray[1] = new Array("{$srcimg}");
	var pic_wh_arr = new Array();

	var ani_wh_arr = new Array();
    var brand_arr = new Array();	

     pic_wh_arr[0] = new Array(200,125);
	function PhoneBrandChange(select_phone, value)
	{
		var p_len = select_phone.length;
		for (i=0; i<p_len; i++)
		{
			select_phone.remove(i);
		}
		select_phone.length = 0;
		if (value==0)
		{
			select_phone.options[0]=new Option("--", 0)
			idxpp = 1;
			for (idxb in brand_arr)
			{
				for (idxp in brand_phone_arr[idxb])
				{
					elem_text = brand_arr[idxb]+" "+brand_phone_arr[idxb][idxp];
					elem_val = idxp;
					select_phone.options[idxpp]=new Option(elem_text, elem_val)
					idxpp++;
				}
			}
		}

	}

	function BrandInit(brand_select)
	{
		elem_text = "--";
		elem_val = 0;
		brand_select.options[0]=new Option(elem_text, elem_val)
		idxbb = 1;
		for (idx in brand_arr)
		{
			elem_text = brand_arr[idx];
			elem_val = idx;
			brand_select.options[idxbb]=new Option(elem_text, elem_val)
			idxbb++;
		}
		PhoneBrandChange(document.all.PHONE, brand_select.value)
	}

</SCRIPT>


<SCRIPT language=JavaScript src="{$web_view_dir}style/js/mmsdiy.js"></SCRIPT>
<SCRIPT>
var tbw = checkBrowser();
var currentImage = new Image();
if (tbw.ie && !tbw.ope && !tbw.ffox && !tbw.maxthon)
{
	currentImage.src = currentImageArray[0];
}
else
{
	currentImage.src = currentImageArray[1];
//		currentImage.width = "0"
//		currentImage.height = "0"
}
</SCRIPT>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
</HEAD>
<BODY bgColor=#9EB6D8 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<CENTER>
<SCRIPT>
d_l = 0;
d_t = 0;
d_w = {$width};
d_h = {$height};
</SCRIPT>
  <TABLE cellSpacing=0 cellPadding=0 width=37% border=0>
    <FORM id=PicEdit name=PicEdit action='?app=new&act=cutimg&post={$post}' method="post"   encType=multipart/form-data >
      <TBODY> 
      <TR vAlign=top align=middle> 
        <TD style="PADDING-BOTTOM: 10px; PADDING-TOP: 3px" align="center"> 
          
		<div  style='DISPLAY: none'>
          <table cellspacing=0 cellpadding=0 width=480 border=0>
            <tbody> 
            <tr valign=top> 
              <td style="PADDING-TOP: 4px" bgcolor=#92d7ff>


                      <select 
                  name=BRAND>
                      </select>


                      <select  name=PHONE>
                      </select>

              </td>
              <td style="PADDING-TOP: 4px" bgcolor=#92d7ff>
                <table cellspacing=0 cellpadding=0 border=0>
                  <tbody> 
                  <tr> 
                    <td style="PADDING-LEFT: 24px">
                      <table cellspacing=0 cellpadding=0 width=260 border=0>
                        <tbody> 
                        <tr> 
                          <td height=28>图片按实际尺寸<span id=SizeDesc></span>的 
                            <input 
                        class=scaletext id=ScaleVal style="WIDTH: 36px" disabled 
                        onChange=ImageScale(this.value) size=5 value=100% 
                        name=ScaleVal>
                            显示</td>
                        </tr>
                        <tr> 
                          <td align=middle><img height=8 
                        src="{$web_view_dir}style/image/slidebar.gif" width=209></td>
                        </tr>
                        <tr> 
                          <td align=middle><img class=slidemover id=ScaleBar 
                        ondrag=dragHandler(sclval) ondragstart=dragHandler() 
                        style="LEFT: 0px; POSITION: relative; TOP: 0px" height=6 
                        src="{$web_view_dir}style/image/slidemover.gif" width=11></td>
                        </tr>

                        </tbody> 
                      </table>
                    </td>
                  </tr>
                  </tbody> 
                </table>
              </td>

            </tr>
            </tbody> 
          </table>
		  </div>
         <div  style="color:#FFFFFF;border:1px #003366 solid;background-color: #4a6ea5;"><a href="{$tempsrcimg}" target="_blank" style="color:#FFFFFF">查看当前截图样式</a></div>		 
          <img height=4 
      src="{$web_view_dir}style/image/ccc.gif" width=1><br>
          <table height=396 cellspacing=1 cellpadding=0 width=479 bgcolor=#9EB6D8   border=0>
            <tbody> 
            <tr id=PrevTR> 
              <td valign=center align=middle><br>
                <br>
                <br>
                <font 
            color=white>图片载入<br>
                请稍等...</font> </td>
            </tr>
            <tr id=EditTR style="VISIBILITY: hidden"> 
              <td align=middle>
                <div id=ShowDiv onDblClick=SubmitSend(); title=双击确定 
            style="VISIBILITY: hidden; BACKGROUND-COLOR: #000000" 
            align=center><img id=bgImage style="Z-INDEX: 1" name=bgImage> 
                  <div class=rectangle_style id=selectPicEdit title="" 
            style="Z-INDEX: 3" align=center valign="middle"><img 
            class=rectangle_style id=CoverPic> 
                    <div class=rectangle_style id=PicEditborder></div>
                  </div>
                  <div class=handler_style id=HandlerDiv><img height=2 src="" 
            width=2></div>
                </div>
              </td>
            </tr>
            </tbody> 
          </table>
          <input type="submit" name="Submit" value="确认提交"  class="buton">
        </TD>
      </TR>
      <INPUT type=hidden value=0 name=x>
      <INPUT type=hidden value=0 name=y>
      <INPUT type=hidden value=0 name=w>
      <INPUT type=hidden value=0 name=h>
      <INPUT type=hidden value=0 name=rw>
      <INPUT type=hidden value=0 name=rh>
      <INPUT type=hidden value=100 name=scale>
      <INPUT type=hidden value=0 name=whr>
	  <INPUT type=hidden value=cutimg name=action>
      <INPUT type=hidden value='{$srcimg}' name=uploadfile>
	  <INPUT type=hidden value='' name=ch_module>
	  <INPUT type=hidden value='' name=lfj>
      </TBODY> 
    </FORM>
  </TABLE>
</CENTER>
<SCRIPT>
 
	BrandInit(document.all.BRAND);
//	moveTo(0, 0);
//	resizeTo( screen.width, screen.height );	
//	window.scroll(0,175);
</SCRIPT>
<SCRIPT>//document.body.scroll="auto";window.resizeTo(window.screen.availWidth, window.screen.availHeight);</SCRIPT>
<SCRIPT>
//	document.all.nextt.focus();
</SCRIPT>
<SCRIPT language=JavaScript src="{$web_view_dir}style/js/mms.diy.js"></SCRIPT>
<SCRIPT>
	document.onmousedown = onMouseDrags;
	document.onmouseup = new Function("dragApproved=false;");

	init();
	if(currentImage.complete)
	{
		ImgShow();
	}
	else
	{
		currentImage.onload = ImgShow;
	}
	focus();
</SCRIPT>
</BODY>
</HTML>